<?php

namespace App\Models\examine;

use App\Models\AdminModel;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model as BaseModel;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\SoftDeletes;

class ConfigModel extends BaseModel
{
    use HasFactory, SoftDeletes;

    protected $table = 't_examine_config';

    protected $primaryKey = 'id';

    public $timestamps = true;

    const CREATED_AT = 'created_at';
    
    const UPDATED_AT = null;

    const TYPE = [1 => '报销', 2 => '赔偿', 3 => '付款', 4 => '应收账单', 5 => '应付账单', 6 => '物料采购'];
    const EXAMINE_TYPE = [1 => '依次审批', 2 => '或签', 3 => '会签'];

    protected $guarded = [];

    protected $hidden = [
        'deleted_at',
    ];


}
